﻿using System;

[AttributeUsage(AttributeTargets.Method)]
public class VersionAttribute : System.Attribute
{
    private string name;
    private string comment;
    
    public VersionAttribute(string name, string comment)
    {
        this.name = name;
        this.comment = comment;
    }

    public VersionAttribute(string name)
    {
        this.name = name;
    }

    public string Comment
    {
        get
        {
            return comment;
        }
    }

    public string Name
    {
        get
        {
            return this.name;
        }
    }
}
